local wezterm = require("wezterm")
local platform = require("utils.platform")

local font = "IntoneMono Nerd Font Mono"
local font_fallback = "Sarasa Mono K"
local font_size = platform().is_mac and 18 or 16

return {
  font = wezterm.font_with_fallback { font, font_fallback },
  -- font = wezterm.font(font),
  font_size = font_size,
  line_height = 1.0,

  -- ref: https://wezfurlong.org/wezterm/config/lua/config/freetype_pcf_long_family_names.html#why-doesnt-wezterm-use-the-distro-freetype-or-match-its-configuration
  freetype_load_target = "Normal", ---@type 'Normal'|'Light'|'Mono'|'HorizontalLcd'
  freetype_render_target = "Normal" ---@type 'Normal'|'Light'|'Mono'|'HorizontalLcd'
}
